<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<!DOCTYPE html>
<html>
<head>
    <title>JSP - Hello World</title>
</head>

<body>
<h1><%= "Hello World!" %>
</h1>
<br/>
<a href="hello-servlet">Hello Servlet</a><br>
<a href="home.jsp">home</a><br>
<a href="life.jsp">lift</a><br>
<%-- 该部分注释在网页中不会被显示--%>
<h2> 今天的日期是: <%= (new java.util.Date()).toLocaleString()%></h2>
</body>
</html>